package com.zjs.jsp.mongodbapi.service;

import com.zjs.jsp.mongodbapi.service.domain.RootData;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient("SS-ERP-ENGINE-REST")
public interface TkService
{

    @RequestMapping(value = "/engine/getOrdersByTaskCode", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
    RootData getHisOrdersByTaskCode(@RequestParam("taskCode") String taskCode);
}
